﻿using SqlSugar;

namespace net8.Models.Upload
{
    /// <summary>
    /// 上传关系表
    /// </summary>
    public class UpRelation : Base
    {
        public string Type { get; set; }
        public Guid TableId { get; set; }
        public Guid FileId { get; set; }

        [Navigate(NavigateType.OneToOne, nameof(FileId))]
        public UpFile File { get; set; }
    }
}
